import request from '@/utils/request'

// 查询其他设施故障检查列表
export function listQitasheshiguzhangjiancha(query) {
  return request({
    url: '/biz/qitasheshiguzhangjiancha/list',
    method: 'get',
    params: query
  })
}

// 查询其他设施故障检查详细
export function getQitasheshiguzhangjiancha(id) {
  return request({
    url: '/biz/qitasheshiguzhangjiancha/' + id,
    method: 'get'
  })
}

// 新增其他设施故障检查
export function addQitasheshiguzhangjiancha(data) {
  return request({
    url: '/biz/qitasheshiguzhangjiancha',
    method: 'post',
    data: data
  })
}

// 修改其他设施故障检查
export function updateQitasheshiguzhangjiancha(data) {
  return request({
    url: '/biz/qitasheshiguzhangjiancha',
    method: 'put',
    data: data
  })
}

// 删除其他设施故障检查
export function delQitasheshiguzhangjiancha(id) {
  return request({
    url: '/biz/qitasheshiguzhangjiancha/' + id,
    method: 'delete'
  })
}

// 导出其他设施故障检查
export function exportQitasheshiguzhangjiancha(query) {
  return request({
    url: '/biz/qitasheshiguzhangjiancha/export',
    method: 'get',
    params: query
  })
}